package com.ztk.threadbasic.runnable;

public class Runnable01 implements Runnable{
    @Override
    public void run() {
        System.out.println("cccc");
    }

    public static void main(String[] args) {
        Runnable01 runnable01 = new Runnable01();
        Thread thread = new Thread(runnable01);
        thread.start();

        Thread bbbb = new Thread(() -> {
            System.out.println("bbbb");
        });
        bbbb.start();
    }
}


